<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: src/crypto.cpp 文件参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#namespaces">命名空间</a> &#124;
<a href="#func-members">函数</a>  </div>
  <div class="headertitle"><div class="title">crypto.cpp 文件参考</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;assert.h&gt;</code><br />
<code>#include &lt;stdlib.h&gt;</code><br />
<code>#include &lt;string&gt;</code><br />
<code>#include &lt;iostream&gt;</code><br />
<code>#include &lt;openssl/aes.h&gt;</code><br />
<code>#include &quot;<a class="el" href="../../d2/d62/crypto_8hpp_source.html">crypto.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../d0/d0e/misc_8hpp_source.html">misc.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="../../d0/d5c/malloc_shared_ptr_8hpp_source.html">mallocSharedPtr.hpp</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
crypto.cpp 的引用(Include)关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../da/d72/crypto_8cpp__incl.png" border="0" usemap="#asrc_2crypto_8cpp" alt=""/></div>
<map name="asrc_2crypto_8cpp" id="asrc_2crypto_8cpp">
<area shape="rect" title=" " alt="" coords="453,5,558,32"/>
<area shape="rect" title=" " alt="" coords="213,304,281,331"/>
<area shape="poly" title=" " alt="" coords="453,29,344,45,212,71,149,88,94,108,50,131,24,156,14,182,19,206,36,228,63,247,95,265,130,280,198,302,197,307,128,285,93,270,60,252,33,232,15,208,9,182,19,153,47,127,92,103,148,83,211,66,343,39,453,23"/>
<area shape="rect" title=" " alt="" coords="583,155,646,181"/>
<area shape="poly" title=" " alt="" coords="521,31,566,78,604,140,600,142,562,82,518,34"/>
<area shape="rect" title=" " alt="" coords="552,229,605,256"/>
<area shape="poly" title=" " alt="" coords="512,32,573,214,568,216,507,33"/>
<area shape="rect" title=" " alt="" coords="66,304,137,331"/>
<area shape="poly" title=" " alt="" coords="453,26,260,46,161,62,121,72,92,82,55,100,27,120,18,132,11,145,8,162,9,181,16,220,33,255,51,275,71,293,67,297,47,279,29,257,11,222,4,182,3,161,6,144,13,129,24,116,53,96,90,78,120,67,160,57,259,41,453,21"/>
<area shape="rect" title=" " alt="" coords="800,80,902,107"/>
<area shape="poly" title=" " alt="" coords="559,28,785,76,784,81,558,34"/>
<area shape="rect" href="../../d2/d62/crypto_8hpp.html" title=" " alt="" coords="426,80,508,107"/>
<area shape="poly" title=" " alt="" coords="501,34,483,68,478,65,496,31"/>
<area shape="rect" href="../../d0/d0e/misc_8hpp.html" title=" " alt="" coords="199,80,273,107"/>
<area shape="poly" title=" " alt="" coords="459,35,289,81,288,75,458,30"/>
<area shape="rect" href="../../d0/d5c/malloc_shared_ptr_8hpp.html" title=" " alt="" coords="633,80,775,107"/>
<area shape="poly" title=" " alt="" coords="541,30,656,72,654,77,539,35"/>
<area shape="poly" title=" " alt="" coords="477,106,529,180,559,216,555,219,525,183,473,109"/>
<area shape="rect" title=" " alt="" coords="397,155,457,181"/>
<area shape="poly" title=" " alt="" coords="462,109,443,142,439,140,458,106"/>
<area shape="poly" title=" " alt="" coords="257,105,325,146,385,179,459,205,538,226,537,231,457,210,383,184,322,150,255,109"/>
<area shape="poly" title=" " alt="" coords="216,109,189,130,164,156,144,190,128,226,109,289,104,288,123,224,139,187,159,153,186,126,213,105"/>
<area shape="rect" title=" " alt="" coords="305,379,383,405"/>
<area shape="poly" title=" " alt="" coords="231,108,211,149,191,206,185,238,184,270,189,301,202,329,220,349,242,363,292,381,290,386,240,368,217,353,198,332,184,303,179,271,180,238,186,205,206,147,226,106"/>
<area shape="rect" title=" " alt="" coords="34,155,91,181"/>
<area shape="poly" title=" " alt="" coords="207,110,107,151,105,146,205,105"/>
<area shape="rect" href="../../d8/d68/fs_8hpp.html" title=" " alt="" coords="263,155,321,181"/>
<area shape="poly" title=" " alt="" coords="248,106,275,141,271,144,244,109"/>
<area shape="poly" title=" " alt="" coords="322,174,341,179,438,201,538,226,537,231,437,206,340,184,320,179"/>
<area shape="poly" title=" " alt="" coords="298,181,340,363,335,364,293,182"/>
<area shape="rect" title=" " alt="" coords="448,229,528,256"/>
<area shape="poly" title=" " alt="" coords="322,177,441,221,439,226,320,182"/>
<area shape="rect" title=" " alt="" coords="217,229,282,256"/>
<area shape="poly" title=" " alt="" coords="287,183,267,217,262,215,282,181"/>
<area shape="rect" href="../../de/dfd/tree_8hpp.html" title=" " alt="" coords="357,229,425,256"/>
<area shape="poly" title=" " alt="" coords="311,180,363,218,360,222,308,184"/>
<area shape="poly" title=" " alt="" coords="367,259,287,299,285,294,365,254"/>
<area shape="poly" title=" " alt="" coords="357,255,153,306,152,301,356,250"/>
<area shape="poly" title=" " alt="" coords="389,257,355,364,350,363,384,256"/>
<area shape="rect" title=" " alt="" coords="701,304,769,331"/>
<area shape="poly" title=" " alt="" coords="426,251,437,253,560,277,686,301,685,306,559,282,436,259,425,256"/>
<area shape="rect" title=" " alt="" coords="532,304,570,331"/>
<area shape="poly" title=" " alt="" coords="420,254,518,298,516,303,418,259"/>
<area shape="rect" title=" " alt="" coords="594,304,676,331"/>
<area shape="poly" title=" " alt="" coords="426,252,579,297,578,302,425,257"/>
<area shape="rect" href="../../d6/de9/typetraits_8hpp.html" title=" " alt="" coords="407,304,508,331"/>
<area shape="poly" title=" " alt="" coords="404,255,438,291,434,294,400,258"/>
<area shape="poly" title=" " alt="" coords="439,333,378,372,375,368,436,329"/>
<area shape="poly" title=" " alt="" coords="690,109,644,147,640,143,687,105"/>
<area shape="poly" title=" " alt="" coords="709,107,734,288,728,289,703,108"/>
<area shape="poly" title=" " alt="" coords="703,108,646,290,641,289,698,106"/>
<area shape="rect" title=" " alt="" coords="772,155,850,181"/>
<area shape="poly" title=" " alt="" coords="724,105,781,143,778,148,721,109"/>
</map>
</div>
</div>
<p><a href="../../df/d84/crypto_8cpp_source.html">浏览该文件的源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="namespaces" name="namespaces"></a>
命名空间</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d8d/namespacewheels.html">wheels</a></td></tr>
<tr class="memdesc:df/d8d/namespacewheels"><td class="mdescLeft">&#160;</td><td class="mdescRight">堆栈信息读取和保存记录 <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:a830247691694cb1813d706f1b4db7d95" id="r_a830247691694cb1813d706f1b4db7d95"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d8d/namespacewheels.html#a830247691694cb1813d706f1b4db7d95">wheels::encrypto</a> (const uint8_t *data, size_t len, const char *key)</td></tr>
<tr class="memdesc:a830247691694cb1813d706f1b4db7d95"><td class="mdescLeft">&#160;</td><td class="mdescRight">AES 128加密算法。CBC  <br /></td></tr>
<tr class="separator:a830247691694cb1813d706f1b4db7d95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a280a2018ebcd55a0349997f806a59ad5" id="r_a280a2018ebcd55a0349997f806a59ad5"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d8d/namespacewheels.html#a280a2018ebcd55a0349997f806a59ad5">wheels::decrypto</a> (const uint8_t *data, size_t len, const char *key)</td></tr>
<tr class="memdesc:a280a2018ebcd55a0349997f806a59ad5"><td class="mdescLeft">&#160;</td><td class="mdescRight">AES 128解密算法,CBC  <br /></td></tr>
<tr class="separator:a280a2018ebcd55a0349997f806a59ad5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
